package com.itheima.service;

import com.itheima.pojo.Member;

import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Member;

public interface MemberService {

    Member findByTelephone(String telephone);

    Integer save(Member newMember);
    Result findPage(QueryPageBean queryPageBean);

    Result add(Member member);

    Result update(Member member);

    Result findAll();

    Result findById(Integer id);

    Result delete(Integer id);

    /*Result addMemberDt(MemberDt memberDt);

    Result addMemberBs(MemberBs memberBs);*/

    /*Result delete(Integer id);

    Result update(Member member);

    Result findById(Integer id);

    Result findAll();*/
}
